<script lang="ts" setup>
withDefaults(defineProps<{ formSpan?: number }>(), { formSpan: 0 });
</script>

<template>
  <umrp-card :border="false">
    <umrp-row :gutter="16">
      <umrp-col v-if="formSpan > 0" :span="formSpan">
        <slot></slot>
      </umrp-col>
      <umrp-col v-else>
        <slot></slot>
      </umrp-col>
      <umrp-col flex="150px">
        <umrp-space :size="10" style="margin-top: 2px">
          <umrp-button type="primary">搜索</umrp-button>
          <umrp-button type="primary">重置</umrp-button>
        </umrp-space>
      </umrp-col>
    </umrp-row>
  </umrp-card>
</template>
